FROM tiangolo/uvicorn-gunicorn-fastapi:python3.8

RUN python3 -m pip config set global.index-url https://mirrors.aliyun.com/pypi/simple

ADD . /app

ENV SETTINGPATH /app/config/config.json

RUN python3 -m pip install -r requirements.txt
